﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<TemplateWeb.Models.ViewModels.GroupViewModel>" %>

<div class="columnleft">
    <!-- TIN TUC MOI -->
    <div class="Tour_PromotionalLeft">
        <div class="Bar_Tour_PromotionalLeft">
            <img src="../../../Content/Images/Home/icon_nha_x.gif" alt="" width="22" height="20" />
            <span class="text_bar">Dịch vụ thẩm định giá</span>
        </div>
        <div class="ND_Tour_PromotionalLeft">    
            <ul>
            <% foreach (var item in Model.LoaiHinhThamDinhGiaModel.GetModel.LstObjModel) { %>
                <!-- if item is the last -->
                <% if (item == Model.LoaiHinhThamDinhGiaModel.GetModel.LstObjModel.Last())
                   { %>
                    <li class="last">
                        <a href="<%= Url.Action("LoaiHinhThamDinhGia", "Home", new { id = item.ID }) %>"><%= item.TenLoaiHinhThamDinhGia%></a>
                    </li>
                <% } else { %>
                    <li>
                        <a href="<%= Url.Action("LoaiHinhThamDinhGia", "Home", new { id = item.ID }) %>"><%= item.TenLoaiHinhThamDinhGia%></a>
                    </li>
                <% } %>
            <% } %>
            </ul>
        </div>
    </div>
    <!---------------------------------------- E ----------------------------------------->

    <!-- CAM NANG MOI -->
    <div class="Tour_PromotionalLeft">
        <div class="Bar_Tour_PromotionalLeft">
            <img src="../../../Content/Images/Home/icon_nha_x.gif" alt="" width="22" height="20" />
            <span class="text_bar">Giá vàng</span>
        </div>
        <div class="ND_Tour_PromotionalLeftGiaVang">
            <div id="divGoldPrice">
	            <script language="javascript">
	                GoldPrice();
	            </script>
            </div>
        </div>
    </div>
    <!---------------------------------------- E ----------------------------------------->

    <!-- CÁC TRANG LIEN KET -->
    <div class="Tour_PromotionalLeft">
        <div class="Bar_Tour_PromotionalLeft">
            <img src="../../../Content/Images/Home/icon_nha_x.gif" alt="" width="22" height="20" />
            <span class="text_bar">Tỷ giá ngoại tệ</span>
        </div>
        <div class="ND_Tour_PromotionalLeftGiaVang">
            <div id="divEchangeRate">
	            <script language="javascript">
	                ExchangeRate();
	            </script>
            </div>
        </div>
    </div>
    <!---------------------------------------- E ----------------------------------------->
</div>
